package c.h.a.z;

import c.g.a.a.c;
import c.g.a.a.d;
import com.liuzh.deviceinfo.card.OverviewCard;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.Objects;

/* compiled from: lambda */
public final /* synthetic */ class o implements c {
    public final /* synthetic */ OverviewCard a;

    public /* synthetic */ o(OverviewCard overviewCard) {
        this.a = overviewCard;
    }

    public final void a(d dVar, Exception exception) {
        OverviewCard overviewCard = this.a;
        Objects.requireNonNull(overviewCard);
        if (dVar != null) {
            try {
                overviewCard.a.setText(URLDecoder.decode(dVar.a().replace("\\x", "%"), "utf-8"));
            } catch (UnsupportedEncodingException unused) {
            }
        }
    }
}
